package com.magnificent.atlantis.client.ui.planner.panels.message.content;

import com.magnificent.atlantis.client.ui.planner.PlannerData;

import javax.swing.*;

/**
 * User: Babanin
 * Date: 04.05.2009
 * Time: 14:34:31
 */
public abstract class AbstractMessageContentPanel extends JPanel {
    private PlannerData plannerData;

    public AbstractMessageContentPanel(PlannerData plannerData) {
        this.plannerData = plannerData;
    }

    public PlannerData getPlannerData() {
        return plannerData;
    }

    public abstract void messageSelected(Object message);
}
